package com.yqyd.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "aliyun.oss")
public class OssConfig {

    /**
     * AccessKey
     */
    private String accessKey;

    /**
     * AccessKey 秘钥
     */
    private String secretKey;

    /**
     * 地域节点
     */
    private String endpoint;

    /**
     * bucket名称
     */
    private String bucket;

    /**
     * bucket大文件
     */
    private String bucketBig;

    /**
     * bucket下文件夹的路径
     */
    private String folder;

    /**
     * 访问域名
     */
    private String url;

}
